import { Layout } from '@/layouts'

const adminSystem = [{
	path: '/admiSystem',
	component: Layout,
	redirect: '/admiSystem/receiving',
	meta: {
		title: '系统管理',
		icon: 'el-icon-s-platform',
		noCache: true,
		permission: ['admiSystem']
	},
	children: [{
		path: 'receiving',
		component: () => import('@/views/admiSystem/receiving/index.vue'),
		name: 'receiving',
		meta: {
			title: '收件人管理',
			permission: ['receiving'],
			keepAlive: false
		}
	},
	{
		path: 'fieldManagement',
		component: () => import('@/views/admiSystem/fieldManagement/index'),
		name: 'fieldManagement',
		meta: {
			title: '字段管理',
			noCache: true,
			permission: ['fieldManagement'],
			keepAlive: false
		}
	},
	{
		path: 'rolesSetting',
		component: () => import('@/views/admiSystem/rolesSetting/index'),
		name: 'rolesSetting',
		meta: {
			title: '字段权限配置',
			noCache: true,
			permission: ['rolesSettingRole'],
			keepAlive: true
		}
	},
	{
		path: 'propertyPrompt',
		component: () => import('@/views/propertyPrompt/index'),
		name: 'propertyPrompt',
		meta: {
			title: '提示配置',
			noCache: true,
			permission: ['propertyPrompt']
		}
	},
	{
		path: 'fund',
		component: () => import('@/views/admiSystem/fund/index.vue'),
		name: 'fund',
		meta: {
			title: '基金管理人配置',
			permission: ['fund'],
			keepAlive: false
		}
	},
	{
		path: 'annualReport',
		component: () => import('@/views/infoMain/annualReport/index.vue'),
		name: 'annualReport',
		meta: {
			title: '基金文件上传',
			permission: ['annualReport'],
			keepAlive: false
		}
	},
	{
		path: 'dataVerification',
		component: () => import('@/views/dataVerification/index'),
		name: 'dataVerification',
		meta: {
			title: '中证网数据校验',
			noCache: true,
			permission: ['dataVerification'],
			keepAlive: true
		}
	}

	]
}]
export default adminSystem
